package com.alipay.config;

import java.io.FileWriter;
import java.io.IOException;



public class AlipayConfig {
	



	public static String app_id = "2018050502638388";


    public static String merchant_private_key = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDYjdzCwbdC9rlBcf6Sx9VuXz2njtebsMKkTxicfwlGJdnmMXLHuwxaB1Bw+myDy7e+S2wghWMXwGvjVd7VxDiMGdznSIHnp4sAhe18qazNc8yWLQb33vxwZupxXBlWvqZF6LoeXMgVKxwxIDrEgHPO7KJ9z7DtImu/3gLBC/QpusWHJyco9p4hN4fIOW/Hr6xKbS9avEFhhrmacLxloEKBTCQz9nPFb9C6E+OX0FWojbCiPcIrBUUKxrwHkvjibO4lmYhWiHdqjQ02loqc6gO5zDZSS9WQrEDjLdpRoQWGlXKTw4Nie1ID0ER130T+7UW9aGw2BMEkr649rcTHWb5HAgMBAAECggEAbry0fB8lQKf7+dx6KsLngGZRl+JynNnZ3r3XvwczTdzDPXRh1oLvAQameu+EGC1Pi47z/vlWv+mVAg6CQdvycqozDU5Fp5lEeoMB+3Kku/cQUmc6Hfy4KB5omolXJ8WcLzmgGzCk3DZMV0683ok1L0ZQnXdcaRbl9Jpp3B/pvoAjqYqxP7b+I2HrzsRBb5wHpa8cdc9KmanggQHCrKLDqdpvWHXqRZIh7in3GxsO7Q1J7DrMa2Rqof1YlawKNuy/pHclX9Njiv47iGE50fA7kPQYlzFbG8OgE4urQYhQRvpj3HtWJc7kAONksmoXEhDCd6VjyrjTIQHmQPKSwmINEQKBgQD4G2kLvdaoi2RRzK72710JHiasseW5wQJ13nwXpzzG+SRliJoR2f8jYFqsqeyjLZnj3LsfwYkTqA5bTmHFzBQttqXdpivTKj5JCDyS4N8cUfThSyzRCiDubDArwWiB6KEsdfaKUi/wHF09LKq8wWjeLMm6CCWAWMtPL2rZoMzeuQKBgQDfcXv6uJ5vvhTJ6yHZYL21eFozwjlGFhMWIZxytNQ+n24U4721+T+Aj9CYTvhUVLXy0QoWuh08Bf4fogDqV8/MaNHIOn0sLG7kJwr9BPRtOJ7YtCYM/QwhFgxtJJXYxb1f95juslggHNGboik1LqFjy77aJQlxiJAwf4vo57UE/wKBgQCYkOJrofUZ931c/6ynlFF1heDqWQqWyyUkLgfI08H/6LyE4xc62v6VVm7rtiIZxbTX9afrwyrzt2f8pZph8ziFU8dzIPfaBiP+7N2yxCzuUUdwMrYAZWYSttx4S5pkKBTULkXIkPmBgS+kqo7jO1utI4V4rAHDhtaeft4JrWPNoQKBgQCaZ+ms0Hdr8IadIgc6GEgAZzKuIcFCVW7LFF7wRVWGENYZSWeHoL3pMXiMR8YDQKabLSkzm1koaVu6sFDBn/zQ3H5bR0/IfswCjZhiUFI4R7A9QAAraZJAKuRbZ7TFH6BF+OuNx2BukHuoeN7RCXAtblZsmLt14VECsqEUSUomMQKBgEXxmuJdFwOtqsbxfTIw23iB8ajdXh0WfY3LDKPziol/vjud5gc1MzJIgolgVjStFqsf1UzSYofmXFVVUCUS6QotcaLbfb4Uwla8MPJbirtqEx98Taoo3NI8vDwxCZpE3BJbmaeR0J0BRE/GLEr+odnIERoJTlu1PMitkkjOUHsV"   ;
	

    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2I3cwsG3Qva5QXH+ksfVbl89p47Xm7DCpE8YnH8JRiXZ5jFyx7sMWgdQcPpsg8u3vktsIIVjF8Br41Xe1cQ4jBnc50iB56eLAIXtfKmszXPMli0G9978cGbqcVwZVr6mRei6HlzIFSscMSA6xIBzzuyifc+w7SJrv94CwQv0KbrFhycnKPaeITeHyDlvx6+sSm0vWrxBYYa5mnC8ZaBCgUwkM/ZzxW/QuhPjl9BVqI2woj3CKwVFCsa8B5L44mzuJZmIVoh3ao0NNpaKnOoDucw2UkvVkKxA4y3aUaEFhpVyk8ODYntSA9BEdd9E/u1FvWhsNgTBJK+uPa3Ex1m+RwIDAQAB"  ;


    public static String notify_url = "https://www.baidu.com/";


    public static String return_url = "https://www.baidu.com/";


	public static String sign_type = "RSA2";

	public static String charset = "utf-8";
	

	public static String gatewayUrl = "https://openapi.alipay.com/gateway.do";

	public static String log_path = "C:\\";




    public static void logResult(String sWord) {
        FileWriter writer = null;
        try {
            writer = new FileWriter(log_path + "alipay_log_" + System.currentTimeMillis()+".txt");
            writer.write(sWord);
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            if (writer != null) {
                try {
                    writer.close();
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }
    }
}

